server:
  ssl:
    key-store: classpath:keystore.p12
    key-password: 123564789
    key-store-type: PKCS12
    key-alias: tomcat
    protocol: TLS
    client-auth: want
    enabled: true
    key-store-password: 123564789
  port: 8443
  tomcat:
    max-threads: 150

spring:
  thymeleaf:
    mode: html
    encoding: UTF-8
    content-type: text/html
    cache: false #开发时关闭缓存,不然没法看到实时页面
    prefix: classpath:/templates/

  datasource:
    url: jdbc:mysql://localhost:3306/library_system
    username: root
    password: xg123
    driver-class-name: com.mysql.jdbc.Driver
  groovy:
    template:
      cache: false
  jpa:
    database: mysql
    show-sql: true
    hibernate:
      ddl-auto: update
      naming:
        strategy: org.hibernate.cfg.DefaultNamingStrategy
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MySQL5Dialect



